package com.thermal.thermal_inspection.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.thermal.thermal_inspection.entity.InspectionDetail;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;

@Data
public class DistributeVO implements Serializable {
    private int inspectionLimitTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp inspectionStartTime;
    private String inspectionWorkName;
    private int inspectionId;
    private int inspectionWorkNumber;
    private int inspectionWorkStatus;
    private int isBatch;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp batchStartTime;
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp batchEndTime;
    private String batchName;
    List<InspectionDetail> inspectionDetails;
}
